package com.lingkang.cpm.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

/**
 * @Author 绫小路
 * @Date 2021/4/1
 */
@Getter
@Setter
@ToString
public class SeUser extends User {
  public SeUser(String username, String password, Collection<? extends GrantedAuthority> authorities) {
    super(username, password, authorities);
  }

  private int sex;
  private String name;
  private String avatar;

}
